﻿using System;
using System.Collections.Generic;
using System.Text;
using RegionInterface;

namespace Common
{
    public interface IAvatarModule
    {
        IAvatarHandle IOwner { get; }
        List<IAvatarHandle> SceneIPlayers { get; }
        IAvatarHandle FindIPlayer(int id);
        void AddPlayer(bool isOwner, PlayerData p);
        void DeletaPlayer(int p);
        event Action<IAvatarHandle> OnIPlayerLogin;
        event Action<IAvatarHandle> OnIPlayerLogout;
    }
}

